package test.util.annotation;

import org.junit.Assert;
import org.junit.Test;

import test.BaseTester;
import test.entity.TestDomain;
import test.util.annotation.processor.EntityAnnotationProcessor;

public class EntityAnnotationProcessorTester extends BaseTester {
	@Test
	public void testValidate() {
		try {
			String tableName = EntityAnnotationProcessor.validate(TestDomain.class);
			Assert.assertEquals("T_TEST", tableName);
		} catch (Exception e) {
			Assert.fail(e.getMessage());
		}

	}
}
